package com.jx.driving.transmission;

import com.jx.driving.message.TimeTerminalTransmissionMessage;
import com.jx.driving.protocol.terminal.annotation.ByteAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

/**
 * 命令上报学时记录应答
 * 
 * @author shenliuyang
 *
 *         2016年8月15日上午10:56:29
 */
@TerminalAnnotation
public class Terminal0x0205Transmission extends TimeTerminalTransmissionMessage {
    @ByteAnnotation(order = 1)
    private short result;// 结果1：查询的记录正在上传；2：SD
			 // 卡没有找到；3：执行成功，但无指定记录；4：执行成功，稍候上报查询结果

    public short getResult() {
	return result;
    }

    public void setResult(short result) {
	this.result = result;
    }

    @Override
    public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("Terminal0x0205Transmission [result=").append(result).append("]");
	return builder.toString();
    }

}
